package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.pojo.Setmeal;
import com.itheima.reggie.result.R;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {

    //新增套餐
    void addSetmealDish(SetmealDto setmealDto);

    //分页查询套餐信息
    R<Page> selectSetmealDish(int page, int pageSize, String name);

    //根据id查询套餐信息
    SetmealDto selectById(Long id);

    //修改套餐
    void updateSetmeal(SetmealDto setmealDto);

    //删除套餐
    void deleteSetmeal(List<Long> ids);

    //批量修改套餐售卖状态
    void status(Integer status, Long[] ids);
}
